package trip

import (
	"context"
	trippd "goStudy/proto/gen/go"
)

type Service struct {
	trippd.UnimplementedTripServiceServer
}

func (*Service) GetTrip(c context.Context, req *trippd.Rid) (*trippd.ReturnRes, error) {
	return &trippd.ReturnRes{
		Id: req.Id,
		Trip: &trippd.Trip{
			Start:     "abc",
			End:       "112",
			DuriedSec: 12,
			FeeCent:   13,
		},
	}, nil
}
